import { Routes, Route } from 'react-router-dom'
import './index.css'
import MyLayout from './components/MyLayout'
import SellerVerify from './pages/SellerVerify'
import SellerList from './pages/SellerList'
import ContentArticle from './pages/ContentArticle'
import ContentCategory from './pages/ContentCategory'
import ContentTwitter from './pages/ContentTwitter'
import MarketActivaty from './pages/MarketActivaty'
import MarketCoupon from './pages/MarketCoupon'
import MarketLink from './pages/MarketLink'
import MarketReceive from './pages/MarketReceive'
import PrivilegeAccount from './pages/PrivilegeAccount'
import PrivilegeRole from './pages/PrivilegeRole'
import PrivilegeSource from './pages/PrivilegeSource'
import ShopList from './pages/ShopList'
import ShopQrcode from './pages/ShopQrcode'
import Statistics from './pages/Statistics'
import TagList from './pages/TagList'
import TouchBehaviorTrigger from './pages/TouchBehaviorTrigger'
import TouchTimedMsg from './pages/TouchTimedMsg'
import TouchTimedPush from './pages/TouchTimedPush'
import TouchTriggerMsg from './pages/TouchTriggerMsg'
import UserList from './pages/UserList'
import UserCrowd from './pages/UserCrowd'
import ContentAdd from './pages/ContentAdd'
import MarketAddActivaty from './pages/MarketAddActivaty'
import MarketAddCoupon from './pages/MarketAddCoupon'
import UserAddCrowd from './pages/UserAddCrowd'
import SellerAdd from './pages/SellerAdd'
import ShopAdd from './pages/ShopAdd'
import TagAdd from './pages/TagAdd'

function App() {
  return (
    <MyLayout>
      <Routes>
        <Route path="seller/verify" element={<SellerVerify />} />
        <Route path="seller/list" element={<SellerList />} />
        <Route path="seller/add" element={<SellerAdd />} />
        <Route path="seller/edit/:id" element={<SellerAdd />} />
        <Route path="content/article" element={<ContentArticle />} />
        <Route path="content/article/edit/:id" element={<ContentAdd />} />
        <Route path="content/category" element={<ContentCategory />} />
        <Route path="content/twitter" element={<ContentTwitter />} />
        <Route path="content/add" element={<ContentAdd />} />
        <Route path="market/activaty" element={<MarketActivaty />} />
        <Route path="market/addActivaty" element={<MarketAddActivaty />} />
        <Route path="market/editActivaty/:id" element={<MarketAddActivaty />} />
        <Route path="market/coupon" element={<MarketCoupon />} />
        <Route path="market/addCoupon" element={<MarketAddCoupon />} />
        <Route path="market/editCoupon/:id" element={<MarketAddCoupon />} />
        <Route path="market/link" element={<MarketLink />} />
        <Route path="market/receive" element={<MarketReceive />} />
        <Route path="privilege/account" element={<PrivilegeAccount />} />
        <Route path="privilege/role" element={<PrivilegeRole />} />
        <Route path="privilege/source" element={<PrivilegeSource />} />
        <Route path="shop/list" element={<ShopList />} />
        <Route path="shop/qrcode" element={<ShopQrcode />} />
        <Route path="shop/add" element={<ShopAdd />} />
        <Route path="shop/edit/:id" element={<ShopAdd />} />
        <Route path="statistics/operation" element={<Statistics />} />
        <Route path="tag/list" element={<TagList />} />
        <Route path="tag/add" element={<TagAdd />} />
        <Route
          path="touchReach/behaviorTrigger"
          element={<TouchBehaviorTrigger />}
        />
        <Route path="touchReach/timedMsg" element={<TouchTimedMsg />} />
        <Route path="touchReach/timedPush" element={<TouchTimedPush />} />
        <Route path="touchReach/triggerMsg" element={<TouchTriggerMsg />} />
        <Route path="user/list" element={<UserList />} />
        <Route path="user/crowd" element={<UserCrowd />} />
        <Route path="user/addCrowd" element={<UserAddCrowd />} />
        <Route path="user/editCrowd/:id" element={<UserAddCrowd />} />
      </Routes>
    </MyLayout>
  )
}

export default App
